package fr.jcbm.client.game;

import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;

public class JCBMGameEngine {
	
	public static final JCBMLogger JCBM_LOGGER = JCBMLogger.getInstance();
	
	private Widget homePageWidget;
	
	public JCBMGameEngine() {}

	public void init() {
		homePageWidget = new JCBMHomePageWidget();
		
		JCBM_LOGGER.log(this.getClass().getName(), "GameEngine has been initialized");
	}
	
	public void start() {
		RootPanel.get().add(homePageWidget);
	}
	
}
